#include <algorithm>
#include <cctype>
#include <cmath>
#include <cstdio>
#define N 105
#define eps 10e-4
using namespace std;

int n;
double f[N][N];
int main() {
#ifndef ONLINE_JUDGE
#ifdef LOCAL
	freopen("testdata.in", "r", stdin);
	freopen("testdata.out", "w", stdout);
#endif
#ifndef LOCAL
	freopen("Gauss.in", "r", stdin);
	freopen("Gauss.out", "w", stdout);
#endif
#endif
	scanf("%d", &n);
	for (int i = 1; i <= n; ++i) {
		for (int j = 1; j <= n + 1; ++j) { scanf("%lf", &f[i][j]); }
	}
	for (int i = 1; i <= n; ++i) {
		int pos = i;
		for (int j = i + 1; j <= n; ++j) {
			if (abs(f[i][j]) > abs(f[pos][j])) { pos = i; }
		}
		if (abs(f[pos][i]) < eps) {
			printf("No Solution");
			return 0;
		} else {
			for (int k = 1; k <= n + 1; ++k) { swap(f[i][k], f[pos][k]); }
		}
		for (int j = 1; j <= n; ++j) {
			if (i == j || abs(f[j][i]) < eps) continue;
			double rate = f[j][i] / f[i][i];
			for (int k = 1; k <= n + 1; ++k) f[j][k] -= f[i][k] * rate;
		}
	}
	for (int i = 1; i <= n; ++i) { printf("%.2lf\n", f[i][n + 1] / f[i][i]); }
	return 0;
}